package com.rankeiot.core.util.castor;

import com.rankeiot.core.util.JSONUtil;

public class AnyCastor implements Castor {
    public static final AnyCastor instance=new AnyCastor();

    @Override
    public Object cast(Object v) {
        if(v==null){
            return null;
        }
        return JSONUtil.parseObject(v.toString());
    }
}
